<template>
  <div class="test-page">
    <h1>测试页面加载成功！</h1>
    <p>当前时间: {{ currentTime }}</p>
  </div>
</template>

<script setup>
import { ref, onMounted } from 'vue'

console.log('Test.vue 组件加载')

const currentTime = ref('')

onMounted(() => {
  console.log('Test.vue 组件挂载')
  currentTime.value = new Date().toLocaleString()
})
</script>

<style scoped>
.test-page {
  padding: 20px;
  text-align: center;
}
</style>